import React, { Component } from 'react'
import './Player.css'

export default class Player extends Component {
    constructor(props) {
        super(props)
    
        this.state = {
            a:"	https://p1.music.126.net/1_CTeFM4--wG2VGjliKoVA==/109951166449374454.jpg"
        }
    }
    componentDidMount(){
        this.$axios({
            url:"http://127.0.0.1:9115/lyric?id=411214279"
        }).then(res=>{
            console.log(res);
        })
    }
    render() {
        return (
            <div className="warp">
                <div className="img">
                    <img src={this.state.a}></img>
                </div>
                <div className="text">
                    <h2 className="name">雅俗共赏</h2>
                    <p className="username">许嵩</p>
                </div>
                <div className="play"></div>
                <div className="list"></div>
            </div>
        )
    }
}
